<div id="side-article-title">
</div>
<div id=side-article-list>
<ul>
<?php foreach($this->hotArticles as $hotArticle){?>
<li><a href="<?php echo $this->baseUrl().'/wenzhang/'.$hotArticle['article_url_spell'].'-aid'.$hotArticle['article_id'].'.html' ?>" title="<?php echo $hotArticle['article_title'] ?>" target="_blank"><?php echo $this->restrainName($hotArticle['article_title'],16) ?></a></li>
<?php }?>
</ul>
</div>
<div class="seperator8"></div>
<div class="side-adv-200">
<script type="text/javascript">
/*200*200，创建于2012-10-22*/
var cpro_id = "u1098366";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div class="seperator8"></div>
<div id="side-product-title"></div>
<div id="side-product-list">
<ul>
<?php foreach($this->hotItems as $hotItem){?>
<li><a href="<?php  echo $this->baseUrl().'/shangpin/'.$hotItem['item_url_spell'].'-pid'.$hotItem['num_iid'].'.html'?>" target="_blank">
<img alt="" src="<?php echo $hotItem['pic_url']?>" width="200px" height="200px"/>
</a>
<p><?php echo $hotItem['title']?></p>
<p>
<?php if(1==$hotItem['is_promotion']){?>
原价：<span style="text-decoration: line-through;"><?php echo $hotItem['price']?></span>
<span style=" background-color: green; padding: 2px; color: white;"><?php echo $hotItem['promotion_name']?></span><span style=" margin-left:5px; color: green; font-weight: bold;"><?php echo $hotItem['promotion_price']?></span>
<?php }else{?>
价格：<?php echo $hotItem['price']?>
<?php }?>
</p>
</li>
<?php }?>
</ul>
</div>

